package com.smartHire.service;

import com.smartHire.domain.Address;
import  com.smartHire.domain.Goods;
import com.smartHire.domain.User;

import java.util.List;

public interface GoodsService {
    int addGoods(Goods goods);
    List<Goods> queryGoods();
    List<Goods> queryGoodsBySort(Goods goods);
    List<Goods> queryShopGoodsBySort(Goods goods, String shopName);
    List<Goods> queryAllGoodsBySort(Goods goods);
    List<Goods> queryShopAllGoodsBySort(Goods goods, String shopName);
    List<Goods> queryGoodsByShop(Goods goods);

    List<Goods> query22Goods();
    List<Goods> SearchGoods(String name, String type);

    List<Goods> queryGoodsByAudit(Goods goods);

    List<Goods> query5GoodsByShop(String shopName);

    Goods queryGoodsByName(Goods goods);
    Goods queryGoodsByID(Goods goods);
    int updateGoodsAmount(Goods goods);
    int updateGoodsName(Goods goods);
    int deleteGoods(Goods goods);
    int updateGoodsById(Goods goods);
    int updateGoodsInventory(Goods goods);
    int updateGoodsPrice(Goods goods);
    int updateGoodsPicture(Goods goods);


}
